#ifndef __C13226_H__
#define __C13226_H__

#include "stm32f1xx_hal.h"
#include "bsp.h"



extern void write_com(unsigned char byte);
extern void write_dat(unsigned char byte);


extern void lcm_init(unsigned char cont);
extern void lcm_init_xy(unsigned char cont);

extern void lcd_linel3(void);
extern void lcd_line24(void);
extern void lcd_vertical(unsigned char byte1,unsigned char byte2,unsigned char byte3,unsigned char byte4);



extern void lcm_image(unsigned char *p);

extern void lcmdisp_clearBuffer(void);
extern void lcmdisp_drawPixel(uint8_t x, uint8_t y, BOOL color);
extern BOOL lcmdisp_readPixel(uint8_t x, uint8_t y);



#endif //__C13226_H__



